package com.whw.fy.mapper;
import java.util.Date;

import com.whw.fy.entity.InstructionalSupervision;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface InstructionalSupervisionMapper {
    int deleteByPrimaryKey(Integer instructionalSupervisionId);

    int insertSelective(InstructionalSupervision record);

    InstructionalSupervision selectByPrimaryKey(Integer instructionalSupervisionId);

    int updateByPrimaryKeySelective(InstructionalSupervision record);

    int updateIncInstructionalSupervisionStatusByInstructionalSupervisionId(@Param("addedInstructionalSupervisionStatus") Integer addedInstructionalSupervisionStatus, @Param("instructionalSupervisionId") Integer instructionalSupervisionId);

    List<InstructionalSupervision> selectAll();

    int countByInstructionalSupervisionPostUserIdNowInMonth(@Param("instructionalSupervisionPostUserId")Integer instructionalSupervisionPostUserId);

    List<InstructionalSupervision> selectAllByInstructionalSupervisionTeacherId(@Param("instructionalSupervisionTeacherId")Integer instructionalSupervisionTeacherId);

    List<InstructionalSupervision> selectByInstructionalSupervisionTeachingSupervisorId(@Param("instructionalSupervisionTeachingSupervisorId")Integer instructionalSupervisionTeachingSupervisorId);

    List<InstructionalSupervision> selectAllByInstructionalSupervisionPrincipalTeacherId(@Param("instructionalSupervisionPrincipalTeacherId")Integer instructionalSupervisionPrincipalTeacherId);


}